
export const tablePropKeys = [ 'height', 'max-height',  'border', 'size', 'fit',  'lazy']

export const resizeProps = {
  enable: {
    type: Boolean,
    default: false,
  },
  relative: {
    type: String,
  },
  offset: {
    type: [Number, Function],
    default: 0,
  },
}

export const menuProps = {
  enable: {
    type: Boolean,
    default: false,
  },
  label: {
    type: String,
    default: '操作',
  },
  width: {
    type: Number,
    default: 100,
  },
  align: {
    type: String,
    default: 'center',
  },
  onEdit: {
    type: Function,
  },
  onDel: {
    type: Function,
  }
}


// 全局 query 的 props 解析
export const queryProps = {
  pageSize: 'pageSize',
  currentPage: 'currentPage',
  orderColumn: 'orderColumn',
  order: 'order',
}
